package com.ross.mode;

import java.util.concurrent.TimeUnit;

/**
 * @version 1.0.0
 * @className: CacheService
 * @description:
 * @author: zhangjunfa
 * @date: 2023/3/30 15:52
 */
public interface CacheService {
    String get(final String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);
}
